package com.codeoss.framework.view.datasource;

import java.util.Map;

import com.codeoss.framework.context.YunContext;
import com.codeoss.framework.data.metadata.Query;
import com.codeoss.framework.data.metadata.Table;
import com.codeoss.framework.data.metadata.TableData;

public interface IDataSource {
	public TableData select(YunContext yunContext, Table table,Query query);
	
	public void delete(YunContext yunContext,Table table, Map<String, Object> dataMap);
	
	public void insert(YunContext yunContext,Table table, Map<String, Object> dataMap);
	
	public void update(YunContext yunContext,Table table, Map<String, Object> dataMap);
}
